import request from '@/utils/request'

export function add(data) {
    return request({
      url: '/message-aisle/add',
      method: 'post',
      data: data
    })
}
export function update(data) {
    return request({
      url: '/message-aisle/update',
      method: 'post',
      data: data
    })
}
export function get(id) {
  return request({
    url: '/get',
    method: 'get',
    params: { id }
  })
}
export function getCategoryList() {
    return request({
      url: '/getCategoryList',
      method: 'get',
    })
}

